Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

AttributeError: Name Conflict in fieldset Plate Description. The name(s) ['i'] appear multiple times. #63

Open
hugokitano opened this issue Apr 20, 2021 · 0 comments

Comments

@hugokitano
Copy link

class NewSamplesheetForm(BetterForm):
    class Meta:
        fieldsets = (
            ('', {'fields':('experiment', 'plate_id')}),
            ('Plate Description', {'fields': ('description')}),
            ('Nanoparticle', {'fields':('np_vol_ul', 'nanoparticle_diluent')}),
            ('Biosample', {'fields':(('biosample_id', 'biosample_type'), ('biosample_dilution_factor', 'biosample_diluent'))}),
            ('Assay', {'fields':(('assay_instrument', 'cleanup_instrument'), 'assay_wash_buffer', ('incubation_time_hr', 'incubation_temp_c'),
                    'digestion_method', 'sample_vol_ul')})
        )

When I do this, I get the above error message. It seems to be looping over the letters of "description", thus getting two "i's" rather than looping through each field.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant