You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: VERSIONS
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -212,6 +212,8 @@ multitrait branch:
212
212
however, we do not rely on the derived state being anything when reading in a .trees file
213
213
in-memory, the binary derived state info remains in the derived state column and the mutation table metadata is kept empty, as before
214
214
the schema for the mutation table metadata now encodes an array (of length determined by the metadata itself) of int64_t SLiM mutation IDs
215
+
fix #666, remove `flags` from individual metadata (shifting the migrant flag, now named SLIM_TSK_INDIVIDUAL_MIGRATED, over to the flags column of the individual table)
216
+
note this entails changes to the individual table flags column, the individual table metadata and schema, and SLiM's provenance entries (to add a description of the flag)
"description": "Whether this individual was a migrant, either in the tick when the tree sequence was written out (if the individual was alive then), or in the tick of the last time they were Remembered (if not).",
"description": "The 'pedigree ID' of this individual's second parent in SLiM."
2337
2330
},
2331
+
"tag": {
2332
+
"index": 4,
2333
+
"type": "integer",
2334
+
"binaryFormat": "q",
2335
+
"description": "The `tag` property of this individual; INT64_MIN if unset."
2336
+
},
2337
+
"tagF": {
2338
+
"index": 5,
2339
+
"type": "number",
2340
+
"binaryFormat": "d",
2341
+
"description": "The `tagF` property of this individual; -DBL_MAX if unset."
2342
+
},
2338
2343
"age": {
2339
-
"index": 4,
2344
+
"index": 6,
2340
2345
"type": "integer",
2341
2346
"binaryFormat": "i",
2342
2347
"description": "The age of this individual, either when the tree sequence was written out (if the individual was alive then), or the last time they were Remembered (if not)."
2343
2348
},
2344
2349
"subpopulation": {
2345
-
"index": 5,
2350
+
"index": 7,
2346
2351
"type": "integer",
2347
2352
"binaryFormat": "i",
2348
2353
"description": "The ID of the subpopulation the individual was part of, either when the tree sequence was written out (if the individual was alive then), or the last time they were Remembered (if not)."
2349
2354
},
2350
2355
"sex": {
2351
-
"index": 6,
2356
+
"index": 8,
2352
2357
"type": "integer",
2353
-
"binaryFormat": "i",
2358
+
"binaryFormat": "h",
2354
2359
"description": "The sex of the individual (0 for female, 1 for male, -1 for hermaphrodite)."
2355
2360
},
2356
-
"flags": {
2357
-
"index": 7,
2358
-
"type": "integer",
2359
-
"binaryFormat": "I",
2360
-
"description": "Other information about the individual: see 'flags'."
2361
-
},
2362
-
"tag": {
2363
-
"index": 8,
2364
-
"type": "integer",
2365
-
"binaryFormat": "q",
2366
-
"description": "The `tag` property of this individual; INT64_MIN if unset."
2367
-
},
2368
-
"tagF": {
2369
-
"index": 9,
2370
-
"type": "number",
2371
-
"binaryFormat": "d",
2372
-
"description": "The `tagF` property of this individual; -DBL_MAX if unset."
2373
-
},
2374
2361
"tagL0_set": {
2375
-
"index": 10,
2362
+
"index": 9,
2376
2363
"type": "boolean",
2377
2364
"binaryFormat": "?",
2378
2365
"description": "A flag indicating whether the `tagL0` property is set; if false, accessing `tagL0` is invalid."
2379
2366
},
2380
2367
"tagL0": {
2381
-
"index": 11,
2368
+
"index": 10,
2382
2369
"type": "boolean",
2383
2370
"binaryFormat": "?",
2384
2371
"description": "The `tagL0` property of this individual; only valid if `tagL0_set` is true."
2385
2372
},
2386
2373
"tagL1_set": {
2387
-
"index": 12,
2374
+
"index": 11,
2388
2375
"type": "boolean",
2389
2376
"binaryFormat": "?",
2390
2377
"description": "A flag indicating whether the `tagL1` property is set; if false, accessing `tagL1` is invalid."
2391
2378
},
2392
2379
"tagL1": {
2393
-
"index": 13,
2380
+
"index": 12,
2394
2381
"type": "boolean",
2395
2382
"binaryFormat": "?",
2396
2383
"description": "The `tagL1` property of this individual; only valid if `tagL1_set` is true."
2397
2384
},
2398
2385
"tagL2_set": {
2399
-
"index": 14,
2386
+
"index": 13,
2400
2387
"type": "boolean",
2401
2388
"binaryFormat": "?",
2402
2389
"description": "A flag indicating whether the `tagL2` property is set; if false, accessing `tagL2` is invalid."
2403
2390
},
2404
2391
"tagL2": {
2405
-
"index": 15,
2392
+
"index": 14,
2406
2393
"type": "boolean",
2407
2394
"binaryFormat": "?",
2408
2395
"description": "The `tagL2` property of this individual; only valid if `tagL2_set` is true."
2409
2396
},
2410
2397
"tagL3_set": {
2411
-
"index": 16,
2398
+
"index": 15,
2412
2399
"type": "boolean",
2413
2400
"binaryFormat": "?",
2414
2401
"description": "A flag indicating whether the `tagL3` property is set; if false, accessing `tagL3` is invalid."
2415
2402
},
2416
2403
"tagL3": {
2417
-
"index": 17,
2404
+
"index": 16,
2418
2405
"type": "boolean",
2419
2406
"binaryFormat": "?",
2420
2407
"description": "The `tagL3` property of this individual; only valid if `tagL3_set` is true."
2421
2408
},
2422
2409
"tagL4_set": {
2423
-
"index": 18,
2410
+
"index": 17,
2424
2411
"type": "boolean",
2425
2412
"binaryFormat": "?",
2426
2413
"description": "A flag indicating whether the `tagL4` property is set; if false, accessing `tagL4` is invalid."
2427
2414
},
2428
2415
"tagL4": {
2429
-
"index": 19,
2416
+
"index": 18,
2430
2417
"type": "boolean",
2431
2418
"binaryFormat": "?",
2432
2419
"description": "The `tagL4` property of this individual; only valid if `tagL4_set` is true."
j["metadata"]["individuals"]["flags"]["18"]["description"] = "the individual was requested by the user to be retained only if its nodes continue to exist in the tree sequence";
0 commit comments