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

Bugfix for errors in line and revision_series tests #401

Closed
23 tasks
TatianaBurek opened this issue Nov 2, 2023 · 0 comments
Closed
23 tasks

Bugfix for errors in line and revision_series tests #401

TatianaBurek opened this issue Nov 2, 2023 · 0 comments
Labels
alert: NEED ACCOUNT KEY Need to assign an account key to this issue METplotpy: General priority: blocker Blocker type: bug Fix something that is not working

Comments

@TatianaBurek
Copy link
Collaborator

Describe the Problem

line and revision_series tests finish with errors:
revision_series:

test_input = './intermed_files/revision_series.points1', expected = True
E           AttributeError: 'RevisionSeries' object has no attribute 'line_logger'

line:
E FileNotFoundError: [Errno 2] No such file or directory: './intermed_files/nan.points1'

Expected Behavior

Provide a clear and concise description of what you expected to happen here.

Environment

Describe your runtime environment:
1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop)
2. OS: (e.g. RedHat Linux, MacOS)
3. Software version number(s)

To Reproduce

Describe the steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Post relevant sample data following these instructions:
https://dtcenter.org/community-code/model-evaluation-tools-met/met-help-desk#ftp

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

Define the source of funding and account keys here or state NONE.

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required
  • Select scientist(s) or no scientist required

Labels

  • Select component(s)
  • Select priority
  • Select requestor(s)

Projects and Milestone

  • Select Organization level Project for support of the current coordinated release
  • Select Repository level Project for development toward the next official release or add alert: NEED CYCLE ASSIGNMENT label
  • Select Milestone as the next bugfix version

Define Related Issue(s)

Consider the impact to the other METplus components.

Bugfix Checklist

See the METplus Workflow for details.

  • Complete the issue definition above, including the Time Estimate and Funding Source.
  • Fork this repository or create a branch of main_<Version>.
    Branch name: bugfix_<Issue Number>_main_<Version>_<Description>
  • Fix the bug and test your changes.
  • Add/update log messages for easier debugging.
  • Add/update unit tests.
  • Add/update documentation.
  • Add any new Python packages to the METplus Components Python Requirements table.
  • Push local changes to GitHub.
  • Submit a pull request to merge into main_<Version>.
    Pull request: bugfix <Issue Number> main_<Version> <Description>
  • Define the pull request metadata, as permissions allow.
    Select: Reviewer(s) and Development issues
    Select: Organization level software support Project for the current coordinated release
    Select: Milestone as the next bugfix version
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Complete the steps above to fix the bug on the develop branch.
    Branch name: bugfix_<Issue Number>_develop_<Description>
    Pull request: bugfix <Issue Number> develop <Description>
    Select: Reviewer(s) and Development issues
    Select: Repository level development cycle Project for the next official release
    Select: Milestone as the next official version
  • Close this issue.
@TatianaBurek TatianaBurek added type: bug Fix something that is not working priority: blocker Blocker alert: NEED ACCOUNT KEY Need to assign an account key to this issue alert: NEED MORE DEFINITION Not yet actionable, additional definition required METplotpy: General labels Nov 2, 2023
@TatianaBurek TatianaBurek added this to the METplotpy-3.0.0 milestone Nov 2, 2023
@TatianaBurek TatianaBurek removed the alert: NEED MORE DEFINITION Not yet actionable, additional definition required label Nov 2, 2023
bikegeek added a commit that referenced this issue Nov 3, 2023
…oesn't belong there since it is not created during a test and is a file that is supposed to persist
bikegeek added a commit that referenced this issue Nov 3, 2023
* Issue #401 replaced line_logger with logger in line 698

* issue #401 don't remove the nan.points1 plot as cleanup

* Issue #401 move this file from the intermediate files directory.  It doesn't belong there since it is not created during a test and is a file that is supposed to persist

* issue #401 refer to the nan.points1 in a new directory
@bikegeek bikegeek closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alert: NEED ACCOUNT KEY Need to assign an account key to this issue METplotpy: General priority: blocker Blocker type: bug Fix something that is not working
Projects
Status: Done
Development

No branches or pull requests

2 participants