Skip to content
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

Transfer a rat from one system to another #29

Open
Rory-Reid opened this issue Apr 30, 2023 · 0 comments
Open

Transfer a rat from one system to another #29

Rory-Reid opened this issue Apr 30, 2023 · 0 comments
Labels
enhancement New feature or request proposal An issue that's newly proposed, maybe pending some thinking

Comments

@Rory-Reid
Copy link
Owner

When breeders pass rats onto other breeders as foundation or otherwise (buck loaning), they often share data in the form of a pedigree so that the receiving breeder can update their own records and work out things for themselves.

If two breeders are using basemix, it stands to reason that it might be nice to be able to transfer data from one system to another. Programmatically, this could be very simple and powerful as we could pack a lot of information all down the family tree - including health, genetics, and detail for all ancestors beyond just the names and varieties.

Thoughts

While I want many export functions, this sounds very specific purpose, and as such it might be nice to have a bespoke file for it. json may be an ideal transfer - it's not compressed but I don't think that matters, it won't be huge. Having the parse-ability may make this trivial to ingest and more technical users may find more utility in this.

In the below example, we have the subject rat as a top-level node, a structural representation of the family tree, and then a flattened array of ancestors.

We could nest the ancestors in the tree but due to line breeding that may be redundant, especially if we allow an unbounded amount of generations to be exported.

{
  "Description": "Rat transfer file",
  "Version": "1",
  "Rat": {
    "Name": "Otis",
    "Sex": "Buck",
    "DateOfBirth": "2022-02-24",
    "Tree": {
      "Sire": {
        "TreeTag": 1,
        "Sire": { },
        "Dam": { }
      },
      "Dam": {
        "TreeTag": 2,
        "Sire": { },
        "Dam": { }
      }
    },
    "Ancestors": [
    {
      "TreeTag": 1,
      "Name": "Horace"
    },
    {
      "TreeTag": 2,
      "Name": "Lillith"
    }
    ]
  }
}

If we have photos, need to consider how they are transferred, or if.

@Rory-Reid Rory-Reid added enhancement New feature or request proposal An issue that's newly proposed, maybe pending some thinking labels Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proposal An issue that's newly proposed, maybe pending some thinking
Projects
None yet
Development

No branches or pull requests

1 participant