Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove value of technical parameters in nhd files #217

Open
ChHaeni opened this issue Oct 12, 2020 · 0 comments
Open

Remove value of technical parameters in nhd files #217

ChHaeni opened this issue Oct 12, 2020 · 0 comments
Assignees
Labels

Comments

@ChHaeni
Copy link
Collaborator

ChHaeni commented Oct 12, 2020

Values of the technical parameters in the nhd files are not used, but read in from a technical.cfg file and many of the values in the nhd files are no longer up to date and add to misunderstanding when going through the nhd files. E.g.:

+a_high
  value = 0.02
  ++units  
    en = -
  ++description
    For milk yield > standard milk yield

+a_low
  value = 0.1
  ++units  
    en = -
  ++description
    For milk yield < standard milk yield

Where both values are taken from the technical.cfg file as 5%, nowadays... Removing the value entry is possible but leads to a message output:

Value of type Any uselessly passed to val()
  in submethod TWEAK at /home/christoph/repos/5_GitHub/agrammon/lib/Agrammon/Model/Technical.pm6 (Agrammon::Model::Technical) line 10
Value of type Any uselessly passed to val()
  in submethod TWEAK at /home/christoph/repos/5_GitHub/agrammon/lib/Agrammon/Model/Technical.pm6 (Agrammon::Model::Technical) line 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants