Merged
Conversation
* Add info to log about using default log path, if log path in config does not work. * Fix bugs.
* Fix the pattern for the glob search function. * Add try...except when reading images.
* Make imaging-dir required argument. * Change default first-job argument to 2. This argument is used to determine the first experiment job in the experiment patterns. This is important to know when renaming images. * Fix default log level and change it to INFO. * Remove working-dir argument. This is not needed anymore. * Do not calculate max projections unless saving histograms or images. * Fix csv file save path. * Never save max projection images. * Fix getting path to initial gain csv file. Check final objective argument and use appropriate initial gain csv file. * Check if reply from server is None, before adding reply. * Fix using format_new_name.
* Make sure X01--Y01 is always checked as last field in a gain scan. * Remove last-field as start argument and instead compute it from x-fields and y-fields, which are arguments.
* Fork contains fix for receive method in cam module.
* Monkeypatch socket. * Remove setup of real socket in test package. * Add requirements_test.txt for tests. * Test with pytest.
* Reset gain_dict between each gainjob run. Refactor the concerned methods in Gain class. * Simplify getting field and well path. Don't search for all compartments with glob. Path is already available from server reply. * Simplify check of which images to include for max projection calculation.
* Add receive call after stop command to catch two out of the three replies after stop command. * Tweak some sleep times between commands. These are needed to let the microscope settle. * Clean some stale comments and debug log calls.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix bugs after refactor
work.