You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to go through physchem and other utility files and ensure that any constants used in those files are not hard-coded in but instead reference expert_inputs or materials_database. For example RATIO_VC_ORIFICE is defined as 0.62 in physchem but instead it should be defined as exp.RATIO_VC_ORIFICE to maintain dependency
The text was updated successfully, but these errors were encountered:
fletchapin
changed the title
Removing all hard-coded constants from utility files
Remove all hard-coded constants from utility files
Sep 26, 2017
This is a fine thing to do. You can automate the process by running pylint... 'linting' code refers to running an automated linter through it that can identify common problems in style
We need to go through physchem and other utility files and ensure that any constants used in those files are not hard-coded in but instead reference expert_inputs or materials_database. For example RATIO_VC_ORIFICE is defined as 0.62 in physchem but instead it should be defined as exp.RATIO_VC_ORIFICE to maintain dependency
The text was updated successfully, but these errors were encountered: