Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Karko93 committed Dec 22, 2023
1 parent a8bd487 commit 1ed5260
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/moveroplot/utils/parse_plot_synop_ch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# pylint: enable=pointless-string-statement
# pylint: disable=using-constant-test
# Standard library
import importlib.resources as pkg_resources
from pathlib import Path
from pprint import pprint

Expand All @@ -25,11 +24,9 @@
verbose = False
path = Path(__file__).with_name("plot_synop_ch")

# open plot_synop_ch file
# with open(path, "r") as f:
# lines = [line.strip() for line in f.readlines()]
# pylint: disable=unspecified-encoding
with pkg_resources.open_text("moveroplot", "plot_synop_ch") as f:
# open plot_synop_ch file
with open(path, "r") as f:
lines = [line.strip() for line in f.readlines()]

# VERIFICATION SCORES; DATAFRAMES FOR SCORE RANGES AND COLOUR TABLE
Expand Down

0 comments on commit 1ed5260

Please sign in to comment.