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

Added atmospheric science minor #965

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import vienRequirements, { vienAdvisors } from './majors/vien';
import aerospaceMinorRequirements, { aerospaceMinorAdvisors } from './minors/aerospace';
import animalSciRequirements, { animalSciAdvisors } from './minors/animal-sci';
import appliedMathMinorRequirements, { appliedMathMinorAdvisors } from './minors/applied-math';
import atmoSciMinorRequirements, { atmoSciMinorAdvisors } from './minors/atmo-sci';
import buMinorRequirements, { buMinorAdvisors } from './minors/bu';
import cogsciMinorRequirements, { cogsciMinorAdvisors } from './minors/cogsci';
import csMinorRequirements, { csMinorAdvisors } from './minors/cs';
Expand Down Expand Up @@ -475,6 +476,13 @@ const json: RequirementsJson = {
advisors: appliedMathMinorAdvisors,
abbrev: 'AppliedMath',
},
ATMOSCI: {
name: 'Atmospheric Science',
schools: ['EN'],
requirements: atmoSciMinorRequirements,
advisors: atmoSciMinorAdvisors,
abbrev: 'AtmoSci',
},
BU: {
name: 'Business',
schools: ['BU'],
Expand Down
48 changes: 48 additions & 0 deletions src/data/minors/atmo-sci.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import { CollegeOrMajorRequirement } from '../../requirements/types';
import { includesWithSingleRequirement } from '../../requirements/checkers';
import { AdvisorGroup } from '../../tools/advisors/types';

const atmoSciMinorRequirements: readonly CollegeOrMajorRequirement[] = [
{
name: 'Two Core Courses',
description: 'Any two of these core courses: EAS 3410, EAS 3420, EAS 4470.',
source:
'https://www.eas.cornell.edu/eas/programs/undergraduate-programs/undergraduate-minors/atmospheric-science-minor',
checker: includesWithSingleRequirement('EAS 3410', 'EAS 3420', 'EAS 4470'),
fulfilledBy: 'courses',
perSlotMinCount: [2],
slotNames: ['Two Courses'],
},
{
name: 'Two Other EAS Courses',
description:
'And any two of the following EAS courses: EAS 1310, EAS 2500, EAS 2680, EAS 3050, EAS 3340, EAS 3520 ' +
'EAS 4350, EAS 4570, EAS 4700, EAS 4860, EAS 6860',
source:
'https://www.eas.cornell.edu/eas/programs/undergraduate-programs/undergraduate-minors/atmospheric-science-minor',
checker: includesWithSingleRequirement(
'EAS 1310',
'EAS 2500',
'EAS 2680',
'EAS 3050',
'EAS 3340',
'EAS 3520',
'EAS 4350',
'EAS 4510',
'EAS 4570',
'EAS 4700',
'EAS 4860',
'EAS 6860'
),
fulfilledBy: 'courses',
perSlotMinCount: [2],
slotNames: ['Two Other Courses'],
},
];

export default atmoSciMinorRequirements;

// TODO: Add Advisors Later
export const atmoSciMinorAdvisors: AdvisorGroup = {
advisors: [],
};
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ Array [
"Minor-APPLIEDECON-Introductory Economics",
"Minor-APPLIEDMATH-6 courses",
"Minor-APPLIEDMATH-MATH 2930 and MATH 2940",
"Minor-ATMOSCI-Two Core Courses",
"Minor-ATMOSCI-Two Other EAS Courses",
"Minor-BU-Finance",
"Minor-BU-Financial Accounting",
"Minor-BU-Introduction to Management",
Expand Down
55 changes: 55 additions & 0 deletions src/requirements/decorated-requirements.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading