Skip to content

Conversation

@Waschina
Copy link

In the block that constructs the DIAMOND database, there was a small bug in the logging (line 118):

try:
message = "Running command: {0}".format(" ".join(command))
give_user_feedback(message, log_file, quiet)
subprocess.check_call(command)
except:
message = "DIAMOND database could not be created."
shared.give_user_feedback(message, log_file, quiet, error=True)
sys.exit(1)

The bug caused that the prepare workflow stopped with

ERROR: DIAMOND database could not be created.

without further details on the cause of the error in the log files.

Prepending the shared. in calling the function give_user_feedback fixes the bug.

In the block that constructs the DIAMOND database, there was a small bug in the logging.

The bug caused that the prepare workflow stopped with

`ERROR: DIAMOND database could not be created.`

without further details on the cause of the error in the log files.

Prepending the `shared.` in calling the function `give_user_feedback` fixes the bug.
In addition to the previous commit:

The same small bug (missing `shared.` prefix in calling `give_user_feedback(...)`) was also there in `make_mmseqs2_database`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant