Skip to content

Commit

Permalink
move nested list nnest blueprint to .rst file
Browse files Browse the repository at this point in the history
  • Loading branch information
gamesguru committed Dec 14, 2023
1 parent 62ddb12 commit 1e281f3
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 98 deletions.
98 changes: 0 additions & 98 deletions ntclient/core/nnest.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,101 +35,3 @@ def __init__(self, nut_id: int, name: str, hidden: bool = False):
"amino_acids": set(),
"other_components": {},
}

"""
from ChatGPT:
Here are the grouped categories and sub-categories of related nutrients based on the
provided table:
1. Protein:
- Protein (203)
2. Fat:
- Total lipid (fat) (204)
- Fatty acids:
- Total trans (605)
- Total saturated (606)
- Total monounsaturated (645)
- Total polyunsaturated (646)
3. Carbohydrates:
- Carbohydrate, by difference (205)
- Sugars:
- Sucrose (210)
- Glucose (dextrose) (211)
- Fructose (212)
- Lactose (213)
- Maltose (214)
- Sugars, total (269)
- Starch (209)
- Fiber, total dietary (291)
4. Minerals:
- Electrolytes:
- Potassium, K (306)
- Sodium, Na (307)
- Magnesium, Mg (304)
- Calcium, Ca (301)
- Iron, Fe (303)
- Phosphorus, P (305)
- Zinc, Zn (309)
- Copper, Cu (312)
- Fluoride, F (313)
- Manganese, Mn (315)
- Selenium, Se (317)
5. Vitamins:
- Vitamin A:
- Vitamin A, IU (318)
- Retinol (319)
- Vitamin A, RAE (320)
- Carotene:
- Carotene, beta (321)
- Carotene, alpha (322)
- Vitamin E:
- Vitamin E (alpha-tocopherol) (323)
- Vitamin E, added (573)
- Vitamin D:
- Vitamin D (324)
- Vitamin D2 (ergocalciferol) (325)
- Vitamin D3 (cholecalciferol) (326)
- Vitamin D (D2 + D3) (328)
- Vitamin C:
- Vitamin C, total ascorbic acid (401)
- B Vitamins:
- Thiamin (404)
- Riboflavin (405)
- Niacin (406)
- Pantothenic acid (410)
- Vitamin B-6 (415)
- Folate:
- Folate, total (417)
- Folic acid (431)
- Folate, food (432)
- Folate, DFE (435)
- Vitamin B-12:
- Vitamin B-12 (418)
- Vitamin B-12, added (578)
- Choline, total (421)
- Vitamin K:
- Vitamin K (phylloquinone) (430)
6. Other Organic Compounds:
- Water (255)
- Caffeine (262)
- Theobromine (263)
- Betaine (454)
- Cholesterol (601)
- Phytosterols:
- Phytosterols (636)
- Stigmasterol (638)
- Campesterol (639)
- Beta-sitosterol (641)
- Phytochemicals (e.g., flavonoids, isoflavones) and their subcategories
- Ash (207)
Please note that this list may not include all possible nutrient categories and
sub-categories, and there may be other ways to categorize them as well.
"""
125 changes: 125 additions & 0 deletions ntclient/core/nnest.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
from ChatGPT:


Here are the grouped categories and sub-categories of related nutrients based on the
provided table:

1. Protein:

- Protein (203)

2. Fat:

- Total lipid (fat) (204)
- Fatty acids:

- Total trans (605)
- Total saturated (606)
- Total monounsaturated (645)
- Total polyunsaturated (646)

3. Carbohydrates:

- Carbohydrate, by difference (205)
- Sugars:

- Sucrose (210)
- Glucose (dextrose) (211)
- Fructose (212)
- Lactose (213)
- Maltose (214)
- Sugars, total (269)

- Starch (209)
- Fiber, total dietary (291)

4. Minerals:

- Electrolytes:

- Potassium, K (306)
- Sodium, Na (307)
- Magnesium, Mg (304)
- Calcium, Ca (301)

- Iron, Fe (303)
- Phosphorus, P (305)
- Zinc, Zn (309)
- Copper, Cu (312)
- Fluoride, F (313)
- Manganese, Mn (315)
- Selenium, Se (317)

5. Vitamins:

- Vitamin A:

- Vitamin A, IU (318)
- Retinol (319)
- Vitamin A, RAE (320)
- Carotene:

- Carotene, beta (321)
- Carotene, alpha (322)

- Vitamin E:

- Vitamin E (alpha-tocopherol) (323)
- Vitamin E, added (573)

- Vitamin D:

- Vitamin D (324)
- Vitamin D2 (ergocalciferol) (325)
- Vitamin D3 (cholecalciferol) (326)
- Vitamin D (D2 + D3) (328)

- Vitamin C:

- Vitamin C, total ascorbic acid (401)

- B Vitamins:

- Thiamin (404)
- Riboflavin (405)
- Niacin (406)
- Pantothenic acid (410)
- Vitamin B-6 (415)
- Folate:

- Folate, total (417)
- Folic acid (431)
- Folate, food (432)
- Folate, DFE (435)

- Vitamin B-12:

- Vitamin B-12 (418)
- Vitamin B-12, added (578)

- Choline, total (421)

- Vitamin K:

- Vitamin K (phylloquinone) (430)

6. Other Organic Compounds:

- Water (255)
- Caffeine (262)
- Theobromine (263)
- Betaine (454)
- Cholesterol (601)
- Phytosterols:

- Phytosterols (636)
- Stigmasterol (638)
- Campesterol (639)
- Beta-sitosterol (641)

- Phytochemicals (e.g., flavonoids, isoflavones) and their subcategories
- Ash (207)

Please note that this list may not include all possible nutrient categories and
sub-categories, and there may be other ways to categorize them as well.

0 comments on commit 1e281f3

Please sign in to comment.