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

mf2sqn does not work in Docker container #64

Open
Adamtaranto opened this issue Jan 6, 2024 · 1 comment
Open

mf2sqn does not work in Docker container #64

Adamtaranto opened this issue Jan 6, 2024 · 1 comment

Comments

@Adamtaranto
Copy link

Adamtaranto commented Jan 6, 2024

MFannot throws an error when run with the --sqn option in the Docker container.

Running mf2sqn also fails.

When I try to run mf2sqn directly I get the error Accepted value for author is Lang or Burger but neither of these work

I have tried creating Lang.sbt in the mf2sqn/lib/mf2sqn_Submitters/ dir and using "SubmitterGeneric" (to match "mf2sqn/lib/mf2sqn_Submitters/SubmitterGeneric.sbt"). Neither are recognised as valid authors.

@Adamtaranto
Copy link
Author

Adamtaranto commented Jan 6, 2024

For future travellers, you need a .sbt file in $MF2SQN_LIB/mf2sqn_Submitters with a name formatted as 'Submitter[name].sbt` where [name] matches the author arg.

i.e. To use the SubmitterGeneric.sbt template info, run:
mf2sqn -d -t -a Generic -m mfannot_outfile.masterfile

See mf2sqn code here:
https://github.com/BFL-lab/Mf2sqn/blob/6faf9f444dd54cddfc1ac625c7099001c5736428/mf2sqn#L279

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

1 participant