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

mtdata get ignores the language pair when the dataset has only one language pair #94

Closed
XapaJIaMnu opened this issue Jan 26, 2022 · 1 comment · Fixed by #85
Closed
Labels
bug Something isn't working

Comments

@XapaJIaMnu
Copy link
Contributor

Issuing

$ mtdata get -l fra-deu -tr "ELRC-bulgarian_strategic_innovations_digital_growth-1-bul-eng"  -o /tmp/test
2022-01-26 20:21:42 main.get_data:30 WARNING:: Args are ignored: {'verbose': False, 'reindex': False, 'task': 'get'}
2022-01-26 20:21:42 __init__.get_instance:48 INFO:: Loading index from cache /home/dheart/.mtdata/mtdata.index.0.3.2.pkl
2022-01-26 20:21:43 cache.__post_init__:34 INFO:: Local cache is at /home/dheart/.mtdata
2022-01-26 20:21:43 data.add_parts:270 INFO:: bulgarian_strategic_innovations_digital_growth : found -1 segments and -1 errors
2022-01-26 20:21:43 main.get_data:45 INFO:: Dataset is ready at /tmp/test
2022-01-26 20:21:43 main.get_data:46 INFO:: mtdata args for reproducing this dataset:
 mtdata get -l fra-deu -tr ELRC-bulgarian_strategic_innovations_digital_growth-1-bul-eng -o <out-dir>
mtdata version 0.3.2

Succeeds even though the dataset name doesn't contain neither fra nor deu dataset. It seems that -l in this case is just checked for a valid language pair, not whether it is contained in the dataset.

@thammegowda thammegowda added the bug Something isn't working label Jan 26, 2022
@thammegowda
Copy link
Owner

Thanks for creating the issue. It will be fixed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants