Skip to content

Commit

Permalink
Merge pull request #30 from Senior-Capstone-2024:gandalf
Browse files Browse the repository at this point in the history
Gandalf
  • Loading branch information
mihaisiia authored Jun 5, 2024
2 parents 3253c34 + 1c2a845 commit 8cf24ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 2 additions & 7 deletions report_generator/report_generator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,8 @@ def assemble_pdf(json_file_path: str, assignment_path: str, out_dir: str='./out/
dotenv_path = path.join(path.dirname(__file__), '.env')
load_dotenv(dotenv_path)
PDFLATEX_PATH = os.environ.get('PDFLATEX_PATH')

# load path to pdflatex
dotenv_path = path.join(path.dirname(__file__), '.env')
load_dotenv(dotenv_path)
PDFLATEX_PATH = os.environ.get('PDFLATEX_PATH')

doc = format_doc()

keys = list(data.keys())
print(keys)
Expand All @@ -80,8 +77,6 @@ def assemble_pdf(json_file_path: str, assignment_path: str, out_dir: str='./out/
# doc = format_doc()
# doc.append(NewPage())
# doc.generate_pdf('out/out', clean_tex=False, compiler='pdflatex', silent=False)

doc.generate_pdf('report_out/report_out', clean_tex=False, compiler=PDFLATEX_PATH)

if __name__ == '__main__':
assemble_pdf(sys.argv[1], sys.argv[2])
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { longMethod } from './longMethod';
import { longParameters } from './longParameters';
import { badSwitch } from './badSwitch';
import { lazyClass } from './lazyClass';
import { exec } from 'child_process';

const myMap: Map<number, string[]> = new Map();
const filePath = 'C:\\Users\\senla\\OneDrive\\Documents\\capstone\\gradeFast-1.0\\output\\data.json';
Expand Down

0 comments on commit 8cf24ad

Please sign in to comment.