Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • F FEDOT
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 87
    • Issues 87
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ITMO-NSS-team
  • FEDOT
  • Issues
  • #258

Closed
Open
Created Apr 05, 2021 by Elizaveta Lutsenko@LizLutsenkoOwner

[Utils] project_root() incorrect behaviour

Created by: BarabanovaIrina

Reproducibility:

  1. pip install fedot
  2. from fedot.core.utils import project_root
  3. if name == 'main': print(project_root())

Expected: /Users/ira/PycharmProjects/FEDOT-benchmarks/

Actual: /Users/ira/PycharmProjects/FEDOT-benchmarks/venv/lib/python3.8/site-packages

Possible solution:

  1. Remove venv/lib/python*/site-packages tale if it is in the path if this function is intended to be used by user.
  2. Or rename as fedot_package_parent or smth like that.
Assignee
Assign to
Time tracking