Open msevestre opened 7 years ago
@Yuri05 what should they be?
Proteins
@Yuri05 ping :)
or "Protein complex" :-)
@StephanSchaller I am talking here about the internal QuantityType which is a predefined property of a molecule. Depending on this quantity type, some action may or may not occur and it should be set accordingly.
As you can see, we already have Protein and Complex. Protein is a combine type so this should DEFINITELY not be used. Complex maybe but this seems wrong.
I tried to change the molecule type for FcRn etc. to "OtherProteins" in the database, but somehow it did not work (FcRn etc. are still shown without Icon'; when exported to MoBi their Molecule Type is still set to empty. In PK-Sim in Debug mode I can see however that the molecule type is properly set:
?All().ToList()[1]
{PKSim.Infrastructure.ORM.FlatObjects.FlatMolecule}
CalculationMethod: "CompoundCommon"
Id: "FcRn"
IsFloating: true
MoleculeType: OtherProtein
Rate: "Zero_Rate"
Also switching the Molecule type from Undefined
to Other Protein
would change the generation of the molecule - which I'm not sure if it would be correct then - probably not.
So I will rollback the change for now.
https://github.com/Open-Systems-Pharmacology/PK-Sim/blob/0b33736c8b7efe83c2faf743fd12a54587d3e4bb/src/PKSim.Infrastructure/Services/MoleculeBuilderFactory.cs#L73-L81
I would like to re-design the whole FcRn model by using state variable parameters instead of molecules (which are only present in some containers) to make it easier to extend. I started to do so but didn't have the time to finalize
see project defined here (MoBi project but this is clear then) https://github.com/Open-Systems-Pharmacology/Forum/issues/46
FcRn_XXX Molecules as well as LingandEndo and LingandEndo_Complex do not have the right MoleculeType