Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Fail for invalid << reaction equation.#1204

Merged
1uc merged 1 commit into
masterfrom
1uc/fail-harder
Mar 11, 2024
Merged

Fail for invalid << reaction equation.#1204
1uc merged 1 commit into
masterfrom
1uc/fail-harder

Conversation

@1uc

@1uc 1uc commented Mar 7, 2024

Copy link
Copy Markdown
Collaborator

The previous behaviour for

KINETIC states {
     ~ x + y << 42.0
}

was to print a warning and continue as if the line didn't exist. The new behaviour is to throw an error, because it's unclear why ignoring the line could ever lead to a correct translation of the MOD file.

The previous behaviour for

    KINETIC states {
         ~ x + y << 42.0
    }

was to print a warning and continue as if the line didn't exist. The new
behaviour is to throw an error, because it's unclear why ignoring the
line could ever lead to a correct translation of the MOD file.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.57%. Comparing base (347f786) to head (da6f6f6).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1204      +/-   ##
==========================================
- Coverage   86.58%   86.57%   -0.01%     
==========================================
  Files         175      175              
  Lines       13006    13002       -4     
==========================================
- Hits        11261    11257       -4     
  Misses       1745     1745              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bbpbuildbot

Copy link
Copy Markdown
Collaborator

Logfiles from GitLab pipeline #199095 (:white_check_mark:) have been uploaded here!

Status and direct links:

@1uc 1uc marked this pull request as ready for review March 8, 2024 08:49
@1uc 1uc merged commit 9292c18 into master Mar 11, 2024
@1uc 1uc deleted the 1uc/fail-harder branch March 11, 2024 10:26
ohm314 pushed a commit that referenced this pull request May 21, 2024
The previous behaviour for

    KINETIC states {
         ~ x + y << 42.0
    }

was to print a warning and continue as if the line didn't exist. The new
behaviour is to throw an error, because it's unclear why ignoring the
line could ever lead to a correct translation of the MOD file.
JCGoran pushed a commit to neuronsimulator/nrn that referenced this pull request Mar 12, 2025
The previous behaviour for

    KINETIC states {
         ~ x + y << 42.0
    }

was to print a warning and continue as if the line didn't exist. The new
behaviour is to throw an error, because it's unclear why ignoring the
line could ever lead to a correct translation of the MOD file.

NMODL Repo SHA: BlueBrain/nmodl@9292c18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants