diff --git a/scripts/construct_flashcard.py b/scripts/construct_flashcard.py index bde6648..f4745da 100644 --- a/scripts/construct_flashcard.py +++ b/scripts/construct_flashcard.py @@ -89,5 +89,5 @@ def construct_flashcard(aggregated_data_path, variable, positive_strata, negativ plotting_info[variable]['positive_count'] = relative_positive_icons # Save updated plotting information back to JSON file - with open(os.path.join(os.path.dirname(os.getcwd()), plotting_information_path), 'w') as f: + with open(plotting_information_path, 'w') as f: json.dump(plotting_info, f)