Skip to content

Commit d5d6c60

Browse files
committed
Testing errors due to pandas changes, updated requirements and a parameter name.
1 parent 37885c6 commit d5d6c60

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ scholarly >= 1.4.5
77
beautifulsoup4 >= 4.9.3
88
fuzzywuzzy >= 0.18.0
99
python-docx >= 0.8.11
10-
pandas >= 0.24.2
10+
pandas >= 1.5.0
1111
openpyxl >= 2.6.2
1212
requests >= 2.21.0
1313
deepdiff >= 5.7.0

src/academic_tracker/athr_srch_emails_and_reports.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def create_tabular_collaborator_report(publication_dict, config_dict, author, pu
404404
df = df[column_order]
405405

406406
if file_format == "csv":
407-
report = df.to_csv(index=False, sep=separator, line_terminator="\n")
407+
report = df.to_csv(index=False, sep=separator, lineterminator="\n")
408408
fileio.save_string_to_file(save_dir_name, filename, report)
409409
else:
410410
## If the file extension isn't .xlsx then there will be an error, so force it.
@@ -631,7 +631,7 @@ def create_tabular_summary_report(publication_dict, config_dict, authors_by_proj
631631
df = df[column_order]
632632

633633
if file_format == "csv":
634-
report = df.to_csv(index=False, sep=separator, line_terminator="\n")
634+
report = df.to_csv(index=False, sep=separator, lineterminator="\n")
635635
fileio.save_string_to_file(save_dir_name, filename, report)
636636
else:
637637
## If the file extension isn't .xlsx then there will be an error, so force it.
@@ -713,7 +713,7 @@ def create_tabular_project_report(publication_dict, config_dict, authors_by_proj
713713
df = df[column_order]
714714

715715
if file_format == "csv":
716-
report = df.to_csv(index=False, sep=separator, line_terminator="\n")
716+
report = df.to_csv(index=False, sep=separator, lineterminator="\n")
717717
fileio.save_string_to_file(save_dir_name, filename, report)
718718
else:
719719
## If the file extension isn't .xlsx then there will be an error, so force it.

0 commit comments

Comments
 (0)