Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OrcID causes an error in compile? #454

Open
jwreep opened this issue May 9, 2024 · 2 comments
Open

OrcID causes an error in compile? #454

jwreep opened this issue May 9, 2024 · 2 comments

Comments

@jwreep
Copy link

jwreep commented May 9, 2024

I'm trying to build an article with this package, and I'm having trouble with OrcID. My article builds and runs correctly when I don't include OrcID, but crashes when I do.

That is, in ms.tex if I replace this line
\author{Jeffrey W. Reep}
with
\author[0000-0003-4739-1152]{Jeffrey W. Reep}

it then throws an error:

Preprocess: Setting up the workflow...
Traceback (most recent call last):
  File "/Users/reep/Documents/Forks/ebtel_abundances/.snakemake/scripts/tmpt4kss5v3.preprocess.py", line 484, in <module>
    config["tree"] = get_json_tree(snakemake.input[0])
  File "/Users/reep/Documents/Forks/ebtel_abundances/.snakemake/scripts/tmpt4kss5v3.preprocess.py", line 409, in get_json_tree
    free_floating_graphics = [
  File "/Users/reep/Documents/Forks/ebtel_abundances/.snakemake/scripts/tmpt4kss5v3.preprocess.py", line 412, in <listcomp>
    if graphic not in config["tex_files_out"]
KeyError: 'tex_files_out'

It seems #400 had a similar problem. Based on that, I tried to add edit the environment.yml file to use showyourwork v.0.4.2, but that didn't solve the issue.

Any help would be greatly appreciated!

@jwreep
Copy link
Author

jwreep commented May 21, 2024

The fix suggested in this comment did solve the issue for me as well.

@HealthyPear
Copy link
Contributor

@dfm Until the proper solution will be figured out I think for the time being this issue should be added to the FAQ with a link to that comment. I can open a PR if you wish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants