Skip to content

if dat_file is inputted and formula is not, have formula not be injec…#13

Open
crhysc wants to merge 1 commit intoatomgptlab:mainfrom
crhysc:bugfix/no-chem-formula-diffractgpt
Open

if dat_file is inputted and formula is not, have formula not be injec…#13
crhysc wants to merge 1 commit intoatomgptlab:mainfrom
crhysc:bugfix/no-chem-formula-diffractgpt

Conversation

@crhysc
Copy link
Copy Markdown
Collaborator

@crhysc crhysc commented Jan 2, 2026

The code changes performed in this pull request allow DiffractGPT users to map an X-ray diffraction spectrum to a crystal structure without specifying the chemical formula of the crystal structure. Importantly, if the filename of the X-ray diffraction spectrum is a chemical formula, the filename will be injected into the prompt (this preserves existing functionality). Not inputting the formula over CLI and not having the filename be a chemical formula will have the language prompt not contain a chemical formula.

…ted into prompt if filename is not a formula
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant