Resolve "Fix the losscalculator to accept more mappings than needed"
requested to merge feature/46-fix-the-losscalculator-to-accept-more-mappings-than-needed into master
Closes #46 (closed)
Sometimes im_types_dict.get(self.intensity_measure_map[im_ff], None)
is equal to none, then we receive an error. But we do not care when it is none (which mean there are more mappings given than needed). In this case, in order to ignore None
we put it in a for loop and only proceed for the ones that do not None
.
Edited by Tara Evaz Zadeh