Skip to content

Bug in tutorial #174

Description

@pfuchs

When going through the python demo I am gettting the following error running this line:

OsipiBase.osipi_fit(algorithm1,signal_1dir, np.unique(bval))

ValueError: b-values must be provided at initialization (__init__), not at fit-time. Pass bvalues to the constructor: OsipiBase(bvalues=..., algorithm=...)

If I change the line in question to something like:

base = OsipiBase(bvalues=bval,algorithm=algorithm1,data=signal_1dir)
base.osipi_fit()

The following error is caused by the first line:
RuntimeError: Root folder not found in PYTHONPATH. Please ensure the project root is in sys.path.

Perhaps a combination of old syntax and an environment that is not set up correctly on my side.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions