Skip to content

MACOS ARM ISSUE: TypeError: mDiffFitExec() takes at least 6 positional arguments (5 given) #77

Description

@macintoshyang

pip install MontagePy, used MontagePy-2.2.0-cp310-cp310-macosx_11_0_universal2.whl
executing the mDiffFitExec() as illustrated in notebook returned following error:

Generate difference images and fit them.

`rtn = mDiffFitExec("projected", "diffs.tbl", "region.hdr", "diffs", "fits.tbl")

print("mDiffFitExec: " + str(rtn), flush=True)

TypeError Traceback (most recent call last)
Cell In[13], line 10
5 print("mOverlaps: " + str(rtn), flush=True)
8 # Generate difference images and fit them.
---> 10 rtn = mDiffFitExec("projected", "diffs.tbl", "region.hdr", "diffs", "fits.tbl")
12 print("mDiffFitExec: " + str(rtn), flush=True)
15 # Model the background corrections.

File src/MontagePy/main.pyx:1743, in MontagePy.main.mDiffFitExec()

TypeError: mDiffFitExec() takes at least 6 positional arguments (5 given)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions