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

Add Summer School Data Organization Code #56

Merged
merged 36 commits into from
Jun 12, 2024
Merged

Add Summer School Data Organization Code #56

merged 36 commits into from
Jun 12, 2024

Commits on May 24, 2024

  1. Configuration menu
    Copy the full SHA
    fc81cbf View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Configuration menu
    Copy the full SHA
    f6e2c13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6269dbb View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Add bundle_data function

    ibevers committed May 30, 2024
    Configuration menu
    Copy the full SHA
    fd744cd View commit details
    Browse the repository at this point in the history
  2. Add extract features function

    ibevers committed May 30, 2024
    Configuration menu
    Copy the full SHA
    f720bea View commit details
    Browse the repository at this point in the history
  3. Clean up

    ibevers committed May 30, 2024
    Configuration menu
    Copy the full SHA
    13155ea View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    e1fbdf0 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Start optimizing with Pydra

    ibevers committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    4c211a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d62364a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9e2202 View commit details
    Browse the repository at this point in the history
  4. additional usage notes

    alistairewj committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    0904d59 View commit details
    Browse the repository at this point in the history
  5. Update args

    ibevers committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    25a2928 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3139365 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c7f71bc View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    c1cef79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    474b20a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22f8775 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb429b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d9a0736 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1325e59 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9d1c428 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    35dff68 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5db64d2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5342891 View commit details
    Browse the repository at this point in the history
  11. Add buggy Pydra optimization

    ibevers committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    acd422c View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    9891d3f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6641fe2 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Get pydra optimized feature extraction working

    @pytest.fixture
    def mock_file_system():
        with mock.patch('os.listdir') as mock_listdir, \
             mock.patch('os.path.isdir') as mock_isdir, \
             mock.patch('os.path.exists') as mock_exists, \
             mock.patch('os.path.isfile') as mock_isfile:
            # Mock the directory structure
            def listdir_side_effect(path):
                if path == 'mock_bids_dir_path':
                    return ['sub-1']
                elif path == 'mock_bids_dir_path/sub-1':
                    return ['ses-1', 'ses-2']
                elif path == 'mock_bids_dir_path/sub-1/ses-1':
                    return []
                elif path == 'mock_bids_dir_path/sub-1/ses-2':
                    return ['audio-1.wav', 'otherfile.txt']
                return []
    
            def isdir_side_effect(path):
                return path in [
                    'mock_bids_dir_path',
                    'mock_bids_dir_path/sub-1',
                    'mock_bids_dir_path/sub-1/ses-1',
                    'mock_bids_dir_path/sub-1/ses-2'
                ]
    
            def exists_side_effect(path):
                return path in [
                    'mock_bids_dir_path',
                    'mock_bids_dir_path/sub-1',
                    'mock_bids_dir_path/sub-1/ses-1',
                    'mock_bids_dir_path/sub-1/ses-2',
                    'mock_bids_dir_path/sub-1/ses-2/audio-1.wav',
                    'mock_bids_dir_path/sub-1/ses-2/otherfile.txt'
                ]
    
            def isfile_side_effect(path):
                return path in [
                    'mock_bids_dir_path/sub-1/ses-2/audio-1.wav',
                    'mock_bids_dir_path/sub-1/ses-2/otherfile.txt'
                ]
    
            mock_listdir.side_effect = listdir_side_effect
            mock_isdir.side_effect = isdir_side_effect
            mock_exists.side_effect = exists_side_effect
            mock_isfile.side_effect = isfile_side_effect
            yield
    ibevers committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    b847bac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e31b068 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Clean up

    ibevers committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    906cd1b View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Fix args

    ibevers committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    2c8140d View commit details
    Browse the repository at this point in the history
  2. Add comments

    ibevers committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    7045385 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    95b1bd2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    497487d View commit details
    Browse the repository at this point in the history
  3. Fix reversed path bug

    ibevers committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    1797300 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb35fb2 View commit details
    Browse the repository at this point in the history