Skip to content

Check if Appose is in the Environment #11

@ian-coccimiglio

Description

@ian-coccimiglio

When running Appose for the first time, I was confused.

But briefly, I created a development conda environment with Appose. Then I created a Maven package with Appose as a dependency.

I then set the IntelliJ environment variables to include environment variables, and the first test example ran successfully :). I supposed that this meant that currently-active Appose was enough to build an arbitrary conda environment with Python code in it and run it.

However, I realized later that any built conda environments /also/ need to have Appose on them to work properly. If not, task.outputs.get("result") will return null. There is an indication though: in the task status "CRASHED" however, but it only showed up on the debugger.

So two thoughts:

  • Prior to building an environment, check if appose is in the ".yml" file, if not, log a warning?
  • Log a warning if a task has a CRASHED status (I think this is supposed to happen, but I do not fully get Java logging yet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions