Skip to content

Update axograph_readwrite? #4

@jpgill86

Description

@jpgill86

With AxoGraph X 1.7.0 (likely much earlier), changes were introduced to the developer's interface provided with the software in the axograph_readwrite directory. These files have begun to diverge from the copies included in this repository (see here for files as of 8ccf296). It might be good to update the axographio package to use the latest versions of these files.

The new files: axograph_readwrite-1.7.0.zip

The changes are relatively minor (mostly type changes), but after putting a little time into it I was unable to get the package to work with them. The main issue seems to be that support for non-Mac platforms in fileUtils.cpp was completely dropped, and the code now completely relies on Apple's (deprecated) Carbon API. Even when I put back in the necessary pieces of this file for compiling the package on non-Mac platforms (everything below this line), Python aborts without any error messages when axographio.read() is executed. Managing file pointers seems to be the problem.

At this time, updating the package to use the latest axograph_readwrite seems like more trouble than it's worth. However, since I've already invested some time, I thought I'd at least document what I learned and provide this patch which contains my efforts so far, and which can be applied to 8ccf296:

Work in progress: update-axograph_readwrite.patch.txt

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