Title: Format integers for varying well name in run_batch_general · Issue #148 · DistributedScience/Distributed-CellProfiler · GitHub
Open Graph Title: Format integers for varying well name in run_batch_general · Issue #148 · DistributedScience/Distributed-CellProfiler
X Title: Format integers for varying well name in run_batch_general · Issue #148 · DistributedScience/Distributed-CellProfiler
Description: Inside each function of run_batch_general.py the "Metadata_Well" is formatted with 'd' but sometimes we have images from different microscopes where the well name would be A1 instead of A01. I added a flag well_bool = False #True to A...
Open Graph Description: Inside each function of run_batch_general.py the "Metadata_Well" is formatted with 'd' but sometimes we have images from different microscopes where the well name would be A1 instead of A01. I a...
X Description: Inside each function of run_batch_general.py the "Metadata_Well" is formatted with 'd' but sometimes we have images from different microscopes where the well name would be A1 i...
Opengraph URL: https://github.com/DistributedScience/Distributed-CellProfiler/issues/148
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Format integers for varying well name in run_batch_general","articleBody":"Inside each function of run_batch_general.py the \"Metadata_Well\" is formatted with '%02d' but sometimes we have images from different microscopes where the well name would be **A1** instead of **A01**.\r\n\r\nI added a flag `well_bool = False #True to A01, False to A1` and changed inside each function the '%02d' for well_format. And then added:\r\n\r\n```\r\nif well_bool:\r\n well_format = '%02d'\r\nelse:\r\n well_format = '%01d'\r\n```\r\n\r\nProbably would need to change that as well for Metadata_Site because I think some microscopes could also have sites = 1 or 01. \r\n\r\nI'm not sure if that's the best place to add this functionality but worked for me.\r\n\r\n[run_batch_general_modified.txt](https://github.com/DistributedScience/Distributed-CellProfiler/files/10767428/run_batch_general_modified.txt)\r\n","author":{"url":"https://github.com/fefossa","@type":"Person","name":"fefossa"},"datePublished":"2023-02-17T14:01:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/148/Distributed-CellProfiler/issues/148"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dc576fc6-730a-7bcd-bde1-7d6d0aa40882 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E146:2003E5:13F103C:1A41E2D:6A51B806 |
| html-safe-nonce | 747840090be6cd8d28a392bd5f7504ddfc3547373f137f5c2f796ef0eaf686f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTQ2OjIwMDNFNToxM0YxMDNDOjFBNDFFMkQ6NkE1MUI4MDYiLCJ2aXNpdG9yX2lkIjoiMTA0MDU4MjIwMDA2MjQ5MDYzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fd5c104c31c60d2f0e04f27fa5b4368b95e0f6355e313d44f104f0e732c3c61c |
| hovercard-subject-tag | issue:1589403818 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DistributedScience/Distributed-CellProfiler/148/issue_layout |
| twitter:image | https://opengraph.githubassets.com/845cb0e3763332844124b7cc2d62fe110d7e4aaaeae344c16692781a5d38e889/DistributedScience/Distributed-CellProfiler/issues/148 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/845cb0e3763332844124b7cc2d62fe110d7e4aaaeae344c16692781a5d38e889/DistributedScience/Distributed-CellProfiler/issues/148 |
| og:image:alt | Inside each function of run_batch_general.py the "Metadata_Well" is formatted with 'd' but sometimes we have images from different microscopes where the well name would be A1 instead of A01. I a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fefossa |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/DistributedScience/Distributed-CellProfiler git https://github.com/DistributedScience/Distributed-CellProfiler.git |
| octolytics-dimension-user_id | 109553694 |
| octolytics-dimension-user_login | DistributedScience |
| octolytics-dimension-repository_id | 63957917 |
| octolytics-dimension-repository_nwo | DistributedScience/Distributed-CellProfiler |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63957917 |
| octolytics-dimension-repository_network_root_nwo | DistributedScience/Distributed-CellProfiler |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width