Skip to content

Commit

Permalink
Change entity name to camelCase
Browse files Browse the repository at this point in the history
- The previous version works for Python ICAT 1.0, but this is how all the other entities are cased and it means the script is compatible with Python ICAT < 1.0
  • Loading branch information
MRichards99 committed Mar 23, 2023
1 parent 1f528bd commit 07a4e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/icat_db_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def generate(self):
DataPublicationGenerator().generate_data_publication(i)

def generate_data_publication(self, i):
data_publication = self.client.new("DataPublication")
data_publication = self.client.new("dataPublication")
data_publication.title = faker.text()
data_publication.description = faker.text()
data_publication.pid = faker.isbn10(separator="-")
Expand Down

0 comments on commit 07a4e23

Please sign in to comment.