-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix duplicate names for same process by counting up processes in adapter #66
Conversation
7dfa9bd
to
8d1d698
Compare
mapper.get("region"), | ||
mapper.get("carrier"), | ||
mapper.get("tech"), | ||
self.counter, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why dont we pass the process name? defaults.update({"name": mapper.process_name})
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Counting must still be added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it to #71
Before name was only generated from region, carrier and tech - this leads to an error if multiple processes (with same tech and carrier) are placed into same region. Thus, I simply added a counter which adds a number to the name for each process.