-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to implement the ability to update archives #69
Comments
…eference to the issue I should have been pointing these commits at from the start of this branch. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
The missions can now be updated very easily, using the update() method thanks to the infrastructure for storing filtering operations that I added a while back. Updating should be easy to add to the archives now that this method exists |
…ates of selected observations when loading back in from disk, also added the read in step in '_load_state' - this is for issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…onaries, with ObsIDs as keys - just a little more convenient. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
… update() method. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…d obs are in the current selection, and vice versa. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…orking in the update() method of BaseMission. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…orking in the update() method of BaseMission. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
… be. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…bsID that has been removed (uncommon but does happen with live missions). For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…eta data attribute and property (to store info about what changed during an update). For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…changed usable states, and included all meta information in the update_meta_info attribute. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…hen setting up which_pr_us_ch. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
Signed-off-by: David Turner <turne540@msu.edu>
…re different from default will be captured, and every default value is just read from the function signature. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…ibute) - this returns the configuration parameters used for each processing function that has been run. In aid of issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…ns in the archive they are working on. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
… - hopefully now the arg capturing for processing configuration storage should work as intended. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…ause I was accidentally checking if there was already an entry in extra info (which there always is as it is set before the process confs). Should be sorted now. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…tion about an archive - should also ensure they are loaded back in. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…s can be stored as strings in the archive save file. For issue #69. Now need to make sure they are read back in correctly. Signed-off-by: David Turner <turne540@msu.edu>
…ing saved archives that have had processing run) as quantities rather than just strings (which is how they were stored). For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…order in which they were executed. This will be crucial for re-running the same processing on new data. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…es for particular missions can be easily and uniquely linked back to an actual function. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…es for particular missions can be easily and uniquely linked back to an actual function. ALSO added a check to the sas_call decorator to make sure no new processes are added without a PROC_LOOKUP entry For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
Alrighty, much progress has been made today. Missions now can be updated, as can archives. Archives also save processing steps and configuration, and when they are updated the processing steps are run again, in the right order, with identical configuration. As far as I know so far that is working fine. Need to do tomorrow:
|
…C_LOOKUP. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…f the relevant data to sas_call. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
I was starting to add a check for data IDs that had been run for a particular process in the sas_call decorator, which would have been neat, but it doesn't handle the problem of temporary directories that have already been created for an anticipated run. As such the processing functions (particularly the 'if not os.path.exists(final_path):' bits) need to be altered to simply not include relevant IDs that have been run already (whether they failed or not). |
…M processes in the assemble section. Indirectly for issue #69 Signed-off-by: David Turner <turne540@msu.edu>
Signed-off-by: David Turner <turne540@msu.edu>
… has already run on. Indirectly for issue #69 Signed-off-by: David Turner <turne540@msu.edu>
… has already run on. Indirectly for issue #69 Signed-off-by: David Turner <turne540@msu.edu>
… that they have already been run on. Indirectly for issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…onary, and under what circumstances it throws a warning out to the user. Need to make the same changes on all of the similar setters for Archive class. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…be fixed now. For issue #69 sort of Signed-off-by: David Turner <turne540@msu.edu>
…be fixed now. For issue #69 sort of Signed-off-by: David Turner <turne540@msu.edu>
…rocessing steps again? For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
This feature may now be fully implemented! |
Signed-off-by: David Turner <turne540@msu.edu>
…ta part of the archive. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
As far as I can tell, everything is working as intended with XMM. I do need to test the eROSITA implementation though. |
…ial. For issue #69 Signed-off-by: David Turner <turne540@msu.edu>
…well as ensuring that _version gets written out to the save json. Indirectly for issue #69 Signed-off-by: David Turner <turne540@msu.edu>
Signed-off-by: David Turner <turne540@msu.edu>
Even if it doesn't change a version number or anything just yet, it needs to go in so I can resume interrupted processing without regenerating expensive files!
More context will be added to this issue soon.
The text was updated successfully, but these errors were encountered: