Conversation
The current test suite of MORS is not yet updated, as you did with e.g., Zalmoxis. I added a preliminary build_tests.md page adapted from your Zalmoxis test building page that already asks the developer to use the same markers (unit, smoke, integration, slow) and I added these markers to pyproject. However, in my run_tests.md testing guide, I should probably explain the current test suite, not the future one. What do you think? I could also update the test suite soon :) |
|
I agree that this is probably out of scope. Good for me to defer to a later action. :) |
I can make an issue about it:) |
…_tests with a 'do not publish' note (will be used later)
There was a problem hiding this comment.
Sorry for the slow review on this, @stuitje, but thanks for making all these changes! Overall the docs look great and I have been able to follow all of the instructions/steps successfully on my laptop. In particular, I appreciate all your efforts to expand the tutorials and clarify the phrasing throughout. Very cool.
A few minor things...
- I get this warning when importing mors. Maybe worth fixing.
../../miniforge3/envs/proteus/lib/python3.12/site-packages/requests/__init__.py:113
/home/harrison/miniforge3/envs/proteus/lib/python3.12/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.4.3)/charset_normalizer (3.4.4) doesn't match a supported version!
warnings.warn(-
Tim's point about stellar mass clipping is important, but at the moment it is relegated to deep within the docs. People might miss this, and think their model is doing something different. Would it be possible to add a non-spammy warning into the code, somewhere, about this? Maybe when the tracks are loaded.
-
What's up with the comment about not publishing one of the pages? It says "This page is not yet online and should be updated based on the new MORS test suite. Do not yet publish this page!"
-
Can the
README_OLD.mdfile be removed? -
Please add yourself and @timlichtenberg to the list of authors in
pyproject.toml
|
From my perspective can go ahead; once you address Harrison's points let's go. Re: 5 from Harrison: didn't we say no authors/developers anywhere? So my suggestion is to get rid of this entirely and let the contributors pane speak for itself. Good for you @nichollsh? |
Thanks Harrison, not slow at all. |
This is different to the documentation. I believe that the author list in the |
I addressed points 3-5. About point 2: since the mass clipping is done in proteus (in the star wrapper), I think that's where a warning should go. I can add it in my next proteus PR, would that work? About point 1: I don't get this warning in both my proteus and mors environments. Is it possible that updating those packages in your environment fixes it? |
nichollsh
left a comment
There was a problem hiding this comment.
New changes are good with me. Thanks for updating the author list and removing the old files. It's good that you caught this logger-name issue too.
Indeed, this warning does seem to be caused by my Python environment more generally, and not by this PR, so we can not worry about this.
Including the other warning about stellar mass clipping in PROTEUS itself probably does make more sense, since that's where it's done. We should make sure not to forget about adding that.
Happy for this to be merged. Thanks again, @stuitje!

Description
This PR updates the MORS documentation significantly by introducing Zensical, thereby addressing FormingWorlds/PROTEUS#650. It also adds and updates a large number of pages:
Updates also includes helper files, such as two css stylesheets (one for the proteus theme, one for footnotes) and an updated github workflow.
Verification
I have built the site locally using Chrome and Safari (I sadly don't have Firefox; but it has worked fine on Firefox for the other websites so far).
Relevant people
@timlichtenberg @nichollsh