I have fixed all outstanding Coding Standards issues flagged by PHPCS: https://git.drupalcode.org/project/hide_submit/-/merge_requests/4
I've tested this patch, it applies cleanly, passes coding standards and works.
As you've found, the version of Tripal you're trying to install (v3.10) is not compatible with the version of Drupal you're using (v10.2.4). Drupal 7 has already reached EOL so it might not be ideal to use it, although given that this is for coursework you could try it?
The error about the missing table sounds like Drupal is unable to find this table despite it existing in your PostgreSQL database. Three things I can think to check are:
1. Database connection in your settings file:
It's possible that Drupal is trying to connect to a different database than the one that you are expecting - check your db settings in your settings.php file
2. Flush the cache - a cache flush might be needed for Drupal to recognise newly added tables
3. Table prefixes - are you using table prefix?
Adding a comment here in case anybody has an edge case like mine and finds themselves here.
I am working on a D10 site that still uses features, as part of troubleshooting a different issue I had exported a load of features. Some had problematic module names (eg. a custom module called 'user' had been created).
I then started receiving " The service X has a dependency on a non-existent service Y.Z." messages when running Drush commands.
I deleted these unwanted new feature modules I had unintentionally created to sort this out.
I've just done a reroll. Rushed, but sharing in case it helps others. Drupal 7.98
Patch attached.
Workaround in #5 just worked for me on 9.5.5.