{"id":22668271,"url":"https://github.com/lanl/milk","last_synced_at":"2025-04-12T11:04:01.177Z","repository":{"id":50613728,"uuid":"504997628","full_name":"lanl/MILK","owner":"lanl","description":"MAUD Interface Language Kit (MILK) is a set of Rietveld tools for automated processing of diffraction datasets.","archived":false,"fork":false,"pushed_at":"2024-11-21T21:26:50.000Z","size":200296,"stargazers_count":18,"open_issues_count":17,"forks_count":6,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-11-21T22:27:08.911Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lanl.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-19T02:52:11.000Z","updated_at":"2024-11-21T21:26:54.000Z","dependencies_parsed_at":"2024-11-21T22:33:26.420Z","dependency_job_id":null,"html_url":"https://github.com/lanl/MILK","commit_stats":{"total_commits":390,"total_committers":8,"mean_commits":48.75,"dds":0.5410256410256411,"last_synced_commit":"b50936efc429a746d91fcbf24427bff4c9b526e0"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanl%2FMILK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanl%2FMILK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanl%2FMILK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanl%2FMILK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lanl","download_url":"https://codeload.github.com/lanl/MILK/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228911888,"owners_count":17990774,"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-12-09T15:14:31.123Z","updated_at":"2024-12-09T15:14:31.846Z","avatar_url":"https://github.com/lanl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"MILK\n====\n![](https://img.shields.io/github/languages/top/lanl/MILK)\u0026nbsp;\n![](https://img.shields.io/github/v/release/lanl/MILK)\u0026nbsp;\n![](https://img.shields.io/github/repo-size/lanl/MILK)\u0026nbsp;\n![](https://img.shields.io/github/contributors/lanl/MILK)\u0026nbsp;\n[![DOI](https://zenodo.org/badge/504997628.svg)](https://zenodo.org/badge/latestdoi/504997628)\n\n\nFollowing GitHub Action tests include:\n- MAUD batch processing using MILK script\n- HIPPO data 2-step analysis\n- Docker container build and publishing for Linux/AMD64 arch \n\n| Linux | [![Python 3.9](https://github.com/lanl/MILK/actions/workflows/build_Lin39.yml/badge.svg)](https://github.com/lanl/MILK/actions/workflows/build_Lin39.yml) |\n| :----------- | :----------- |\n| Windows | [![Python 3.9](https://github.com/lanl/MILK/actions/workflows/build_Win39.yml/badge.svg)](https://github.com/lanl/MILK/actions/workflows/build_Win39.yml) |\n| MacOS (Intel) | [![Python 3.9-3.10](https://github.com/lanl/MILK/actions/workflows/build_MacPy38_310.yml/badge.svg)](https://github.com/lanl/MILK/actions/workflows/build_MacPy38_310.yml) |\n| Linux Docker | [![GitHub Docker](https://github.com/lanl/MILK/actions/workflows/build_docker_linux.yml/badge.svg)](https://github.com/lanl/MILK/actions/workflows/build_docker_linux.yml) |\n\nMAUD Interface Language Kit (MILK) is a set of Rietveld tools for automated processing of diffraction datasets. It's main features are:\n\n* programable, custom, reproducible refinements\n* database configuration of refinements\n* distributed computing\n* refinement summary \n* output formated for cinema_debye_scherrer \n\nMore details and tutorials can be found in the [wiki](https://github.com/lanl/MILK/wiki).\n\nIf you use the resources in this repository, please cite our [paper](https://doi.org/10.1107/S1600576723005472): \n\n```\nSavage, D. J., Lutterotti, L., Biwer, C. M., McKerns, M., Bolme, C., Knezevic, M. \u0026 Vogel, S. C. (2023). MILK: a Python scripting interface to MAUD for automation of Rietveld analysis. J. Appl. Cryst. 56.\n```\n\nInstallation and requirements\n=============================\n\nSee the [MILK installation wiki](https://github.com/lanl/MILK/wiki/Installation-Overview).\n\nUsing Docker\n============\n\nIf you would like to install MILK via Docker, first you would need to download and install Docker from the official website: https://www.docker.com\n\nTo build a MILK docker image, use the Dockerfile:\n```\ndocker build -t rietveld .\n```\n\nOn Linux and MacOS, to run commands and mount in a directory for MILK to write output to, use:\n```\ndocker run -u $(id -u):$(id -g)  -v ${PWD}:/output -w /output rietveld-image milk-examples -e 1\n```\n\nOn Windows, run the following command:\n```\ndocker run -v \"path\\to\\folder\":/output -w /output rietveld milk-examples -e 1\n```\nThe path to the folder needs to be a full absolute path for Windows.\n\nTo open the Docker container as a Virtual Machine, run:\n```\ndocker run -v ${PWD}:/output -w /output --rm -it rietveld /bin/bash\n```\n`--rm` tells the container to erase additional files and directories when the container exits, essentially return the container to initial state.\n`-it` tells the container to run in interactive mode, which is needed if you intend to run in bash.\n`/bin/bash` tells the container to start in the bash shell. If this is not done, you can still switch to bash shell by simply typing `bash`.\n\n\nNOTE: This passes in the user and group ID so files written back out match the user on the host.\n\nContributing\n============\n\nSince MILK is open source we are happy about any kind of contribution. In\norder suggest bug fixes, new features or improved documentation to MILK\nproceed as follows:\n\n1. fork the MILK repository to your personal GitHub account\n2. clone it on your local computer\n3. apply your changes\n4. push your changes to your personal GitHub account\n5. create a pull request to MILK/development\n\nLicense\n=======\n\nC21035 MAUD Interface Tool Kit (MILK) has been acknowledged by NNSA for open source release.\n\n© 2022. Triad National Security, LLC. All rights reserved.\nThis program was produced under U.S. Government contract 89233218CNA000001 for Los Alamos\nNational Laboratory (LANL), which is operated by Triad National Security, LLC for the U.S.\nDepartment of Energy/National Nuclear Security Administration. All rights in the program are\nreserved by Triad National Security, LLC, and the U.S. Department of Energy/National Nuclear\nSecurity Administration. The Government is granted for itself and others acting on its behalf a\nnonexclusive, paid-up, irrevocable worldwide license in this material to reproduce, prepare\nderivative works, distribute copies to the public, perform publicly and display publicly, and to permit\nothers to do so.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanl%2Fmilk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanl%2Fmilk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanl%2Fmilk/lists"}