Release Cycle, June 2025#560
Conversation
| ## Updating `flepiMoP` | ||
|
|
||
| Updating `flepiMoP` is designed to work just the same as installing `flepiMoP`. Make sure that your clone of the `flepiMoP` repository is set to the branch your working with (if doing development or operations work) and then run the `hpc_install_or_update` script, substituting `<cluster-name>` with either `rockfish` or `longleaf`. | ||
| Updating `flepiMoP` is designed to work just the same as installing `flepiMoP`. First change directory to your `flepiMoP` installation and then make sure that your clone of the `flepiMoP` repository is set to the branch your working with (if doing development or operations work) and then run the `flepimop-install-<cluster-name>` script, substituting `<cluster-name>` with either `rockfish` or `longleaf`. |
There was a problem hiding this comment.
slight typo -- set to the branch 'you are' working with..
anjalika-nande
left a comment
There was a problem hiding this comment.
Just found a minor typo in the documentation that I commented on but otherwise seems good
|
Thanks! Not sure if I'm doing things wrong, but was trying to test the sync protocol thing following the instructions, but have reached this error...
I think maybe I had something like this before - in the step where I run |
What is the output of |
Remove one line to patch error, eliminate some `pylint` errors
change test object and resolve `pylint` line length warning
Somehow got deleted or weren't carried over to this branch perhaps?
when will I remember to do this the first time through...
Change job to ignore `build/` directory changes
Switch to CI auto-creating and committing `Sphinx` docs
Disable `line-too-long` rule for examples in docstrings.
Consolidated duplicate args into the template data.
Split the `--sync` option into `--sync` flag and `--sync-protocol` option with a default protocol uploading to 's3://idd-inference-runs' when an explicit protocol is not given. Adjustments made to the HPC run guide to account for this change.
* Correct typos/awkward wording, * Clarify that `target` and `source` should differ for rsync, * Add troubleshooting section focusing on `--dry-run` and suggesting that users should try this first before really running cmd, * Corrected indentation of the resuming inference section, and * Added a note about filter order to rsync example.
Consolidated `--source` and `--source-append`, as well as the corresponding target options, into one option. Now `--source 'some/path'` will act as an override wheras prepending '+ ' like so `--source '+ some/path'` will append. Corresponding documentation and test changes to go along with this behavior change. Also extracted `SyncOptions._true_path` private method into `_true_path` standalone internal helper for ease of unit testing.
* Removed the `--sync` option to use the hardcoded Hopkins s3 default, and * Added to the documentation about patching a sync configuration file for the Hopkins s3 use case.
Fix incorrect 'your' to 'you are' as noted by @anjalika-nande.
6722c3f
|
Okay thanks. I don't think that's clear from the documentation, so if it's just made explicit, or some other work around determined later that would be helpful. If we are essentially always going to be patching during a batch run (in order to save things to S3 for records), but always setting a CONFIG_PATH in the initialisation step, then this seems redundant. Fine to approve this for now though, but just a thought for later. |
Yeah, that makes since. To clarify, with the |
|
No, the press enter to skip is clear, and for our previous usage $CONFIG_PATH was a necessary variable. But it's not clear to me whether it's needed in the new setup or instructions with the patching capabilities and since in all the set up examples the config is explicitly written in the commands. What would be easiest from an operational point of view is for all these to just be set up in an initialisation script, and then some line of command written somewhere that can be copy-pasted, for example, for all flu forecasts without having to edit etc. Fine to be instructed otherwise, just the instructions are unclear here I think (probably because we have not operationalised this use yet? and might also be missing something in the markdown documentation). Something more akin to the workflow that we had before was to just set a config, and then it read all the other information from the config and we were able to just run the job launcher script and it would populate the equivalent batch-calibrate command for us. As far as I can tell this isn't how it would now work - it would require more tweaking and manual edits to the actual command? Again, i'm fine with this for now, and I probably just need to test it out more on some actual runs to have a more formed opinion, but just flagging that having instructions to initialise a config in the init, then needing to unset it in order to patch a config (which should become pretty standard practice if we want to enforce this sync system) seems odd. |
Ah, okay, I think I understand the pain point here now. I've created #576 to carry on this discussion & work. To clarify the confusion about |
Description
This PR is a running accumulation of changes to merge from
devintomainthat will be merged at a to be decided release cycle.News
New Features
gempyorproduced with Sphinx, Gempyor sphinx documentation #550.bin/flepimop-installscript,flepimop-installScript #546.flepimop batch-calibrateon batch job finish with--sync-protocol, AddsyncFor Saving Model Outputs Tobatch-calibrate#554.clickinterface, Click documentation #545Bug Fixes
flepimop-calibratenow works with--nwalkers=1, Addressflepimop-calibrateerror when--nwalkers = 1#556.flepicommonhas migrated away deprecatedcovidcastand toepidatr, Migrateflepicommonfrom deprecatedcovidcasttoepidatr#571Notes
gempyor.subpopulation_structure.SubpopulationStructure, Subpopulation Structure Refactor #549.