{"id":18947113,"url":"https://github.com/qedsoftware/spectral-renamer","last_synced_at":"2026-03-26T20:30:19.128Z","repository":{"id":21595533,"uuid":"24915660","full_name":"qedsoftware/spectral-renamer","owner":"qedsoftware","description":"Renaming of spectral files.","archived":false,"fork":false,"pushed_at":"2014-10-07T23:15:29.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T00:44:37.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qedsoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-07T23:10:56.000Z","updated_at":"2016-12-05T19:04:12.000Z","dependencies_parsed_at":"2022-08-21T19:40:42.815Z","dependency_job_id":null,"html_url":"https://github.com/qedsoftware/spectral-renamer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qedsoftware%2Fspectral-renamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qedsoftware%2Fspectral-renamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qedsoftware%2Fspectral-renamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qedsoftware%2Fspectral-renamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qedsoftware","download_url":"https://codeload.github.com/qedsoftware/spectral-renamer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239946875,"owners_count":19723014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T13:09:02.499Z","updated_at":"2026-03-26T20:30:19.065Z","avatar_url":"https://github.com/qedsoftware.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Original Problem: Write program to rename files in the following manner:\n\n    icr_172595_A1 ==\u003e icr172595.0\n    icr_172595_B1 ==\u003e icr172595.1\n    icr_172596_C1 ==\u003e icr172596.0\n    icr_172596_D1 ==\u003e icr172596.1\n    icr_172597_E1 ==\u003e icr172597.0\n    icr_172597_F1 ==\u003e icr172597.1\n    ...\n\nSolution strategy:\n\n    1. Eliminate the first underscore. \n    2. Replace the second underscore with a period.\n    3. Replace the suffix with an incremental integer index starting from 0.\n\n\nRevised problem:\n\n    1. First underscore may not be present, or may be a space.\n    2. Alphabetic prefix should be lowercased.\n\nRevised solution strategy:\n\n    1. Use regular expressions to extract [alphabetic prefix] [optional delimiter] [numerical ssn] [underscore] [microtray index]\n    2. Construct: lowercase[alphabetic prefix] [numerical ssn] [underscore] [integer index]\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqedsoftware%2Fspectral-renamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqedsoftware%2Fspectral-renamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqedsoftware%2Fspectral-renamer/lists"}