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

[BUG] Bagel-cli doesn't work after installation #179

Closed
1 task
maelleF opened this issue Jul 20, 2023 · 1 comment · Fixed by #185
Closed
1 task

[BUG] Bagel-cli doesn't work after installation #179

maelleF opened this issue Jul 20, 2023 · 1 comment · Fixed by #185
Labels
type:bug Defects in shipped code and fixes for those defects

Comments

@maelleF
Copy link

maelleF commented Jul 20, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Expected Behavior

No response

Current Behavior

No response

Error message

(NeuroBagel) maellef@Coucou:~/git/bulk_annotations$ bagel --help
Traceback (most recent call last):
  File "/home/maellef/env/NeuroBagel/bin/bagel", line 5, in <module>
    from bagel.cli import bagel
  File "/home/maellef/git/bagel-cli/bagel/cli.py", line 9, in <module>
    import bagel.bids_utils as butil
  File "/home/maellef/git/bagel-cli/bagel/bids_utils.py", line 6, in <module>
    from bagel import mappings, models
  File "/home/maellef/git/bagel-cli/bagel/models.py", line 12, in <module>
    class Bagel(BaseModel, extra=Extra.forbid):
  File "/home/maellef/git/bagel-cli/bagel/models.py", line 16, in Bagel
    identifier: str = Field(
  File "/home/maellef/env/NeuroBagel/lib/python3.10/site-packages/pydantic/fields.py", line 755, in Field
    raise PydanticUserError('`regex` is removed. use `pattern` instead', code='removed-kwargs')
pydantic.errors.PydanticUserError: `regex` is removed. use `pattern` instead

For further information visit https://errors.pydantic.dev/2.0.3/u/removed-kwargs

Environment

  • OS: Ubuntu 22.04.2 lts
  • Python/Node version: 3.10.6

How to reproduce

try installing without container

Anything else?

No response

@maelleF maelleF added the type:bug Defects in shipped code and fixes for those defects label Jul 20, 2023
@alyssadai alyssadai moved this to Backlog in Neurobagel Jul 20, 2023
@alyssadai alyssadai mentioned this issue Jul 21, 2023
2 tasks
@surchs
Copy link
Contributor

surchs commented Aug 17, 2023

Blocked by #180
Blocked by #184

@surchs surchs moved this from Backlog to Implement - Track in Neurobagel Aug 23, 2023
@surchs surchs moved this from Implement - Track to Implement - Done in Neurobagel Aug 23, 2023
@alyssadai alyssadai moved this from Implement - Done to Review - Active in Neurobagel Aug 23, 2023
@github-project-automation github-project-automation bot moved this from Review - Active to Review - Done in Neurobagel Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Defects in shipped code and fixes for those defects
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants