Open 1fish2 opened 5 years ago
Most of these have fallen out of step with the actual code. I think we can remove a fair number and should probably think about having a quick jenkins build to test any we want to keep.
It would also be useful to standardize the notation to underscore_function_names. There are a few files with underscores but the functions are camel case so to properly run the variant, you would need to set VARIANT=tfActivity
for the python fw_queue.py
call even though the variant file is named tf_activity.py
. I think it creates some confusion with the mixed standard and moving forward we should use underscore based on our style guidelines.
Variants to remove:
sim_data.KcatEndoRNaseFullRNA
isn't used anywhere so at the very least would need to be updated)doubling_time
argument to fitSimData_1
sim_data.process.metabolism.useAllConstraints
is not used and running metabolism_kinetic_objective_weight variant 0 would have the intended effectsim_data.constants.metabolismTargetRangeConstant
isn't used and we don't use the metabolism objective it is trying to testsim_data.scaling_factor
isn't used, not sure what it was trying to testsim_data.timeStepSec
doesn't get usedVariants to update:
sim_data.process.transcription.rnaData["synthProb"]
since it's no longer part of rnaData and expression is handled differently now but the possibility of doing knockouts is probably still usefulsim_data.condition
like the condition variant does so a cell will be initialized to basal conditions even if it starts in different nutrientsAdditionally, all of the *ShuffleParams
variants could probably be removed. We really only added it for a figure in the old version of the paper. Removing this would also require cleaning up some additional code in process files and analysis files.
meneParams
and metabolism_kinetic_objective_weight
were used in the paper and might have limited utility moving forward (metabolism_kinetic_objective_weight
could probably still be useful for future debugging). tf_activity
is also probably only useful for debugging.
That means that the only really useful variants at this point are wildtype
and condition
which are both tested with Jenkins. I agree that we can add some docstrings to the ones we keep and can describe the useful indices and the intentions of the variant in those docstrings.
EndoKcatFullRNA.py
andrnaDegRateShuffleParams.py
aren't listed innameToFunctionMapping
andnameToNumIndicesMapping
so the code won't find them. Should these be added to the list? Deleted?geneKnockout
applies whilenutrientTimeSeriesDownshift
andanaerobic
don't.