diff --git a/curric2022.py b/curric2022.py
index d06433f..2973ca2 100644
--- a/curric2022.py
+++ b/curric2022.py
@@ -847,7 +847,13 @@ def course_rank():
csvwriter.writerow( [ version['d']+version['n'], version['c'], version['s'], version['m'], version['d'], version['n'], len(version['o']) ])
+def de_classpaths():
+ outfile = codecs.open('cache/courses/all_de_classpaths.txt', 'w','utf-8')
+ areas = ['Distance Education/1/2/Justification/Need/Justification','/Distance Education/1/3/Content Presentation/A. Methods of Instruction/','/Distance Education/1/3/Content Presentation/B. Instructional Materials and Resources:
1. What materials and resources will you provide your students in a virtual environment?/','/Distance Education/4/Assessment/','/Distance Education/4/Methods of Instruction/','/Distance Education/1/3/Content Presentation/2. Have you assessed the use of high-quality open educational resources (OER) to help bridge the digital divide for students in the course? If so, please describe how you will be using them./','/Distance Education/4/Instructional Materials and Resources/','/Distance Education/1/3/Content Presentation/3. How will students be provided access to library materials and other learning resources in a virtual environment? (virtual reference librarian, research guides, digital content, etc.)/','/Distance Education/4/How will students be provided access to library materials and what support will students be provided to help them locate and use these materials?
Library and Other Learning Resources/','/Distance Education/1/3/Content Presentation/4. How will students access equitable student support services in a virtual environment? (tutoring, financial aid, counseling, etc.)/','/Distance Education/4/Accommodations for Students with Disabilities/','/6/Distance Education/4/Office Hours/','/Contact/Contact/Description/']
+ for area in areas:
+ with codecs.open('cache/courses/allclasspaths.txt', 'r','utf-8') as infile:
+ outfile.writelines(line for line in infile if area in line)
if __name__ == "__main__":
@@ -857,6 +863,7 @@ if __name__ == "__main__":
3: ['courses - path style to html catalog', course_path_style_2_html],
4: ['show course outcomes', all_outcomes],
5: ['courses - rank by all versions', course_rank],
+ 6: ['extract de info from class paths', de_classpaths],
10: ['fetch all programs', fetch_all_programs],
11: ['process all programs', path_style_prog],
12: ['programs - path style to html catalog', path_style_2_html],