Closed marcnol closed 1 year ago
In your infoList.json, the parameter "stardist_network3D" is missing for the common and barcode section. So, pyHiM cherry-pick this parameter inside the standard parameters (branch:development; src/core/parameters.py: line 379) and the value is stardist_nc14_nrays:64_epochs:40_grid:2
, which bug your run.
But I don't understand that it works on master... Did you pull the master recently? Because before this commit fcfaf9f, it was possible that your run was working thanks to a bug, but it's an old commit. I don't see anything else.
mmm. I don't understand why the master branch is working... It maybe a good idea to just exit in this instance as otherwise it will use very likely the wrong network?
Should we remove the parameter "stardist_network3D" from the strandard parameters or add line of codes to check this ?
I am thinking that maybe we need a infoList checkup routine that runs from the beginning and verifies that each expected parameter is there and when it will be replaced by a default it sends a warning message. This at least will allow us to spot if there is anything unexpected... Then we could stop execution for some very important parameters instead of replacing them by a default.?
Pull request #167
When pyHiM start, checks are made on the infoList.json parameters:
When I run
pyHiM.py -C segmentSources3D
in
/mnt/grey/DATA/rawData_2023/Experiment_78_Marie_Christel_Julian_Droso_Late_embryos_confocal_2/Analysis/001
I get the following error, WHICH DOES NOT APPEAR IN THE MASTER branch.
there seems to be an error with reading the dictionary as here it should be looking for the network for the 3D-PSFs but instead is looking for a network for the 2D segmentation of DAPI !