Skip to content

Syntax error in dictionary key finder method #21

@ipurusho

Description

@ipurusho

The following error occurs in Minerva's "default" python environment (2.6.6):

Traceback (most recent call last):
File "./src/complete_seq.py", line 3, in
from analysis_framework import *
File "/gs01/scratch/shenl03/complete-seq/src/analysis_framework.py", line 7, in
from utils import *
File "/gs01/scratch/shenl03/complete-seq/src/utils.py", line 18
return {k for k, v in input_dict.items() if v == value}
^
SyntaxError: invalid syntax

Perhaps change syntax to be more accommodating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions