Skip to content

Commit

Permalink
correct reading of plotting info
Browse files Browse the repository at this point in the history
  • Loading branch information
JHogenboom committed Aug 6, 2024
1 parent d926293 commit 24b3705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/construct_flashcard.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def construct_flashcard(aggregated_data_path, variable, positive_strata, negativ
aggregate_data = json.loads(json.load(f))['categorical_descriptives']

# Load plotting information from JSON file
with open(os.path.join(os.path.dirname(os.getcwd()), plotting_information_path), 'r') as f:
with open(plotting_information_path, 'r') as f:
plotting_info = json.load(f)

# Construct flashcards for each variable in plotting information
Expand Down

0 comments on commit 24b3705

Please sign in to comment.